package com.zyz.I_多线程.单例模式.饿汉式;

/**
 * @author: vick
 * @Date: 2025/3/22
 * @Description:
 * @version: 1.0
 */
public class Singleton {
    private static Singleton INSTANCE = new Singleton();

    //为了不让new，产生不一样的对象，所以构造器私有化
    private Singleton() {

    }

    public static Singleton getINSTANCE() {
        return INSTANCE;
    }
}
